#include "treasure.hpp"

Treasure::Treasure(const unsigned int & type,const unsigned int & x,const unsigned int & y,const bool & f):type_treasure(type),position_x(x),position_y(y),find(f)
{
}

void Treasure::set_all(const unsigned int & type,const unsigned int & x,const unsigned int & y,const bool & f)
{
    type_treasure=type;
    position_x=x;
    position_y=y;
    find=f;
}